﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainSite.Master" AutoEventWireup="true" CodeBehind="BedomningarLista.aspx.cs" Inherits="TandvardsstodApp.Bedomningar.BedomningarLista" %>
<asp:Content ID="Content1" ContentPlaceHolderID="title" runat="server">
Tandvårdsstöd - Förhandsbedömningar lista
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">

<%-- Skapad och bearbetat av Safin Hassan --%>

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <h4>Lista över bedömningar</h4><br />
    <div style="width: 100%; height: 400px; overflow: scroll">
        <asp:GridView ID="GridView1" Width="3200px" runat="server" AllowSorting="True" EmptyDataText="Inget data tillgänglig"
            BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px"
            CellPadding="3" DataSourceID="ObjectDataSource1" GridLines="Vertical" 
            AllowPaging="True">
            <AlternatingRowStyle BackColor="#DCDCDC" />
            <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
            <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" HorizontalAlign="Center" />
            <PagerStyle BackColor="#999999" ForeColor="Black" />
            <RowStyle BackColor="#EEEEEE" ForeColor="Black" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#0000A9" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#000065" />
        </asp:GridView>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
            SelectMethod="GetDataFörhandsbedömning" 
            TypeName="TandvardsstodApp.ServiceReference1.Service1Client">
        </asp:ObjectDataSource>
        </div>
    </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
